package com.woniuxy.lab.woniu_lab.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.lab.woniu_lab.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.lab.woniu_lab.service.dto.chargeDto.MyOrderDto;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 消费记录表 Mapper 接口
 * </p>
 *
 * @author Silas
 * @since 2023-03-15
 */
public interface OrderDao extends BaseMapper<Order> {

    @Select("")
    IPage<MyOrderDto> queryMyOrder(Integer userId, IPage<MyOrderDto> iPage);
}
